home *** CD-ROM | disk | FTP | other *** search
- Path: news.ultranet.com!usenet
- From: "Albert P. Belle Isle" <belleisl@cerberus-sys.com>
- Newsgroups: alt.winsock.trumpet,alt.winsock,comp.dcom.modems,comp.os.ms-windows.setup.win3x
- Subject: Re: Trumpet Winsock Setup Help Request
- Date: Sat, 24 Feb 1996 15:08:23 -0500
- Organization: Cerberus Systems, Inc.
- Message-ID: <312F7037.5A12@cerberus-sys.com>
- References: <312e7c45.707818@news.sims.net>
- NNTP-Posting-Host: apb-p5-90.cerberus-sys.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
-
- sparks@sims.net wrote:
- >
- > I'm using Trumpet Winsock ver 2.1f, WFWG 3.11, 28.8 V34 modem, and a
- > SLIP account. What are the optimum MTU, TCP RWIN & TCP MSS settings
- > for this configuration? Where can I find this information. TCPMAN
- > online help is not definitive.
-
- Sparks:
-
- It's good practice to match your Internet Service Provider's IP MTU, since
- any packet you get will be routed through his routers, and you might as well
- look like "one of the guys" on his Local Area Network. (While you can't set
- *his* MTU, you can make him unnecessarily throttle-down to fit a smaller MTU
- that you set your WinSock to announce to him. As you probably know, not all
- transfers use TCP/IP; some use UDP/IP, like RealAudio or VDOLive.)
-
- Berkeley Unix implementations of SLIP seem to use the old ARPAnet value of
- MTU=1006, but you should ask your ISP what value he uses, since there is no
- one "standard" SLIP. (PPP is standardized, and must accept an MTU of 1500
- bytes at start-up, after which it can be throttled-back to a lower setting
- if you so request. This also happens to be the Ethernet default MTU.)
-
- If you use an MTU the same size as the routers on your access provider's
- LAN, you can set your MSS for transfers that come from outside his LAN over
- the Internet to anything that will fit in his maximum routing packet - i.e.
- MSS no larger than his MTU minus 40 bytes for TCP and IP headers.
-
- The objective is to amortize the header bytes (overhead) over as much TCP
- data as possible without getting router fragmentation of your packets. In
- other words, the larger MSS is, the smaller the percentage the header
- bytes represent. BUT, MSS+40 must fit within the MTU of EVERY router on
- the Internet path between the download server and you - not just your ISP's.
-
- Most of the time, if you want a "safe" setting, MSS=536 is good enough.
- (This is 40 bytes less than the Internet default MTU of 576, which all IP
- routers are supposed to accommodate.) This setting will cause most remote
- servers to respond with either 536- or 512-byte TCP data segments.
-
- Since RWIN is the initial default (and maximum) value of the TCP flow
- control window, you obviously want to set it to an exact multiple of the
- size segments you're requesting; i.e., RWIN=n*MSS, where 3 <= n <= 10. You
- may find a multiple of more than 8 or 10 results in sluggish response from
- web-browsing while doing a file download in the background.
-
- In any case, while mis-tuning can make a 28.8Kbps modem seem a lot
- slower, that connect rate will limit you to uncompressible downloads of
- 3.2KBytes/sec. While there's no limit on how *badly* your winsock can be
- tuned, this does define the best you can do. Once you get that speed, any
- further tuning of TCP/IP software can't make a modem faster ;-)
-
- I've put together a tutorial FAQ on the subject of WinSock speed-tuning
- (and related problems that prevent it, like com port overruns) at the
- below-listed URL, if you're interested in more details.
-
- Regards,
-
- Al
-
- --
- ==================================================================
- Albert P. Belle Isle
- Cerberus Systems, Inc.
-
- Al's Winsock Tuning FAQ -
- http://www.cerberus-sys.com/~belleisl/mtu_mss_rwin.html
- ==================================================================
-